import comtypes.client
#import tempfile

RhinoScriptModule = comtypes.client.GetModule(r"C:\Program Files\Rhinoceros 5 Evaluation\Plug-ins\RhinoScript.tlb")
Rhino = comtypes.client.CreateObject("Rhino5.Application")

#RhinoScriptModule = comtypes.client.GetModule(r"D:\Programs\Rhinoceros 4.0\Plug-ins\RhinoScript.tlb")
#Rhino = comtypes.client.CreateObject("Rhino4.Interface")

Rhino.Visible = True

#rs = Rhino.GetScriptObject.QueryInterface(RhinoScriptModule.IRhinoScript)
#rs.Print("hello")
#rs.AddCurve([[54,3,0],[2,34,0],[23,45,0]])

#print rs
